using System.Collections.Generic;
using OpenWaves.Collections;

namespace OpenWaves.Navigation.Showcase
{
    public class MegaMenuNode : NavigationNode
    {            
        public MegaMenuNode(string id, string name, params NavigationNode[] children): base(id, name, children)
        {            
        }

        public IEnumerable<IEnumerable<NavigationNode>> Columns
        {
            get { return this.Children.GroupBy(2); }
        }
    }
}